package com.ar4j.test.domain;

import org.springframework.transaction.annotation.Transactional;

import com.ar4j.ActiveRecord;
import com.ar4j.type.DateWithoutMillis;

/**
 * Represents the primary test table
 */
@SuppressWarnings("serial")
@Transactional
public abstract class Secondary implements ActiveRecord<Secondary> {
  private Long id;
  private String code;
  private String description;
  private TestEnum enumField;
  private DateWithoutMillis dateField;
  
  public Long getId() {
    return id;
  }
  
  public void setId(Long id) {
    this.id = id;
  }

  public String getCode() {
    return code;
  }

  public void setCode(String code) {
    this.code = code;
  }

  public String getDescription() {
    return description;
  }

  public void setDescription(String description) {
    this.description = description;
  }

  public TestEnum getEnumField() {
    return enumField;
  }

  public void setEnumField(TestEnum enumField) {
    this.enumField = enumField;
  }

  public DateWithoutMillis getDateField() {
    return dateField;
  }

  public void setDateField(DateWithoutMillis dateField) {
    this.dateField = dateField;
  }
   
}